<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
<%@ include file="/WEB-INF/page/public/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta charset="utf-8">
    <title>标签列表</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
    <meta http-equiv="expires" content="Wed, 26 Feb 1997 08:21:57 GMT">
    <link rel="stylesheet" href="${ctx }/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="${ctx }/css/font_eolqem241z66flxr.css"
          media="all" />
    <link rel="stylesheet" href="${ctx }/css/list.css" media="all" />
    <script>
        var ctx = "${ctx}";
    </script>
</head>
<body class="childrenBody">
<div class="layui-tab">
    <ul class="layui-tab-title">
        <li class="layui-this">图文消息</li>
        <li>图片</li>
        <li>语音</li>
        <li>视频</li>
    </ul>
    <div class="layui-tab-content">
        <div class="layui-tab-item layui-show">图文消息</div>
        <div class="layui-tab-item">
            <blockquote class="layui-elem-quote list_search">
                <shiro:hasPermission name="wx:material:add">
                    <div class="layui-inline">
                        <a class="layui-btn layui-btn-normal materialAdd_btn"><i
                                class="layui-icon">&#xe608;</i> 添加素材</a>
                    </div>
                </shiro:hasPermission>
            </blockquote>
            <!-- 数据表格 -->
            <table id="picList" class="picList" lay-filter="picList"></table>
        </div>
        <div class="layui-tab-item">语音</div>
        <div class="layui-tab-item">视频</div>
    </div>
</div>
<script type="text/javascript" src="${ctx }/layui/layui.js"></script>
<script>
    //注意：选项卡 依赖 element 模块，否则无法进行功能性操作
    layui.use('element', function(){
        var element = layui.element;

    });
</script>
<%--<blockquote class="layui-elem-quote list_search">
    <shiro:hasPermission name="wx:material:add">
        <div class="layui-inline">
            <a class="layui-btn layui-btn-normal materialAdd_btn"><i
                    class="layui-icon">&#xe608;</i> 添加素材</a>
        </div>
    </shiro:hasPermission>
</blockquote>
<!-- 数据表格 -->
<table id="materialList" class="materialList" lay-filter="materialList"></table>--%>

<script type="text/javascript" src="${ctx }/page/wx/materialList.js"></script>
<script type="text/html" id="barEdit">
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
    &lt;%&ndash;<a class="layui-btn layui-btn-warm layui-btn-xs" lay-event="batchtagging">上传素材</a>&ndash;%&gt;
</script>
</body>
</html>